home *** CD-ROM | disk | FTP | other *** search
- WinZip for Windows/NT BETA TEST VERSION
-
- What's new:
-
- This beta version has two fixes to the 8-Apr-94 beta:
-
- 1) Fix for bug handling ARC files.
-
- 2) Workaround for an apparent bug in Windows/NT 3.5 build 612 beta that
- caused WinZip to display incomplete listbox entries in the main window.
- WinZip left aligns, centers, and right aligns different parts of each
- listbox entry. This seems to cause problems for this beta version of
- Windows/NT. I was able to reproduce the problem by making minor changes
- to Microsoft's ODLIST SDK sample. The changes to the ODLIST sample are:
-
- a) Insert the following function near the top of the sample program
-
- void text_out(HDC hdc, int x, int y, LPSTR p, int cb)
- {
- SetTextAlign(hdc, TA_LEFT);
- TextOut(hdc, x, y, p, cb);
- SetTextAlign(hdc, TA_CENTER);
- TextOut(hdc, x + 50, y, "XXX", 3);
- }
-
- b) replace the two calls to TextOut with calls to text_out.
-
- These changes should left-align the specified text, and then overlay it
- with three centered Xs. However, the specified text is centered, even
- though it was written with SetTextAlign TA_LEFT in effect. Apparently
- the NT owner-draw listbox code is using the last active SetTextAlign
- value instead of the SetTextAlign value that was specified at the time
- of the TextOut.
-
- The sample code fails both when compiled for Win32 and Win16.
-
- The sample code (and previous versions of WinZip) work under Windows/NT
- 3.1, Windows 3.1, Windows for Workgroups, and even Win-OS2, just not in
- the Windows/NT 3.5 build 612 beta.
-
- ###
-